package com.topisv.tms.repository.stock.moveStock;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.topisv.tms.entity.stock.moveStock.MoveStockBill;

/**
 * 移库单_dao
 * @author gh
 *
 */
public abstract interface MoveStockBillDao extends PagingAndSortingRepository<MoveStockBill, Long>, JpaSpecificationExecutor<MoveStockBill>
{
	@Query("select t from MoveStockBill t where t.warehouseCode in ?1 and t.createBy = ?2 and status != 'finish' ")
	public List<MoveStockBill> findNoFinishMoveBill(List<String> warehouseCodeList,String jobuuid);

}